package com.chainyoung.component_tmtrade.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmtrade.bean.FiatTradeListItem;
import com.chainyoung.component_tmtrade.bean.MyBanlance;
import com.chainyoung.component_tmtrade.bean.TradeCurrencyItem;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface TradeFiatCurrencyBuyContract {

    interface View extends IView {

      void onGetFiatTradeListSuccess(CommonList<FiatTradeListItem> data);
      void onGetFiatTradeListFailed();

    }

    interface Model extends IModel {


        Flowable<CommonList<FiatTradeListItem>> getFiatTradeList(TreeMap<String, Object> map);

    }

}
